procedure Print(dataName [or textName] : Str255; showDialog : boolean);

Prints the window dataName or textName to the default printer using the default or last set page setup.  If showDialog is TRUE then the Print dialog is shown.

Also see:  PrPlotData